﻿using SmartRS.com.vn.smartrs.domain;
using SmartRS.com.vn.smartrs.service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartRS.com.vn.smartrs.dao;

namespace SmartRS.com.vn.smartrs.service
{
    public class DeskService : BaseService<Desk>
    {
        private static DeskService _deskService = new DeskService();

        private DeskService()
        { }

        public static DeskService getInstance()
        {
            return _deskService;
        }
        public Desk getDeskById(long deskId)
        {

            return DeskDao.getInstance().getDeskById(deskId);
        }
        public List<Desk> getListDeskByHallId(long hallId)
        {
            return DeskDao.getInstance().getListDeskByHallId(hallId);
        }

    }
}
